package io.yunho.srw.pwebflux.routerfunction.handler;

import lombok.experimental.UtilityClass;

/**
 * @author: yunho
 * @date: 2021/5/14 14:31
 * @description:
 */
@UtilityClass
public class CheckUtil {
    private final static String NO_NAME = "haha";
    public void checkName(String name){
        if (NO_NAME.equals(name)){
            throw new RouterException("名称不允许");
        }
    }
}
